package com.xiangmu.entity;

public class Chanpin {
	private int id;
	   private String leibie;
	   private String xinxi;
	   private String img;
	public Chanpin() {
		super();
	}
	public Chanpin(int id, String leibie, String xinxi, String img) {
		super();
		this.id = id;
		this.leibie = leibie;
		this.xinxi = xinxi;
		this.img = img;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getLeibie() {
		return leibie;
	}
	public void setLeibie(String leibie) {
		this.leibie = leibie;
	}
	public String getXinxi() {
		return xinxi;
	}
	public void setXinxi(String xinxi) {
		this.xinxi = xinxi;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	@Override
	public String toString() {
		return "chanpin [id=" + id + ", leibie=" + leibie + ", xinxi=" + xinxi + ", img=" + img + "]";
	}
	   
	   
}
